home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / comm / net / dialerdevice17.lha / amitcp.txt next >
Text File  |  1995-02-18  |  10KB  |  334 lines

  1. torture --n. 1. the act of inflicting excruciating pain  2. a method of
  2. inflicting such pain 
  3.  
  4.  
  5.  
  6. Hi,
  7.  
  8. This stuff applies ONLY to v3.0b of AmiTCP.  It is also most likely
  9. incomplete or has errors (some of it was just guessing on my part).  But it
  10. works for Amosaic and ncftp.  I haven't tried the mail servers yet tho
  11. and I expect I might have to make corrections when I do.  3.0b can be had
  12. from the AMosaic WWW area (use lynx to grab this sucker):
  13.  
  14. http://insti.physics.sunysb.edu/AMosaic/ftpdir  
  15. --Note, the site above is sometimes closed.
  16.  
  17. I'm going to give you lots of info and some of it won't make sense till
  18. you need it <G>
  19.  
  20.  
  21. First, this is a direct quote of the info provided to me by Scott in
  22. Customer Service when I asked for IP addresses and stuff:
  23.  
  24. ---------------------------START QUOTE
  25. From: Cust. Support - S.M.
  26. To:   Shadownyc
  27. Subj: TIA Settup
  28. Date: 01-04-95 11:20
  29. Area: E-mail
  30.  
  31. IP Address:      199.3.12.10  (or 199.0.2.1)
  32.  
  33. Nameserver:      199.3.12.2
  34. (secondary)      199.3.12.3
  35.  
  36. IP Gateway Server:  199.3.12.1
  37.  
  38. NNTP:     news.cris.com
  39. SMTP:     mail.cris.com
  40.  
  41. Mail Server:  pop3.cris.com
  42.  
  43. Newsgroups:   news.cris.com
  44.  
  45. domain: deathstar.cris.com
  46.  
  47. YOUR known as   (alias)@deathstar.cris.com
  48.  
  49.  
  50. try those, that's the stuff you need!
  51.  
  52. -Scott
  53.  
  54. ---------------------------END QUOTE
  55.  
  56. Start the automatic installation script of AmiTCP and use the above info.
  57. If you don't know where some stuff fits, don't worry.  I'm going give
  58. you everything you need below, I just want you to get the files on your
  59. HD :) I will briefly discribe some "highlights" ;) from the install script
  60. below.
  61.  
  62. Pick ENVARC: drawer for the HOSTNAME variable
  63.  
  64. You will be asked to select which device drivers to configure (there are 4
  65. included).  You only need to configure rhslip.device the others aren't
  66. needed. 
  67.  
  68. You also will be asked to give the password of root in a sub-script (this
  69. one confused me).  You don't need that crap so just keep clicking the
  70. close gadget on the "output window" till the install proceeds.
  71.  
  72. At the end of the installation, AmiTCP will ask permission to put some
  73. assigns in your User-Startup file.  I don't like stuff added to my U-S
  74. (slows down boot).  I will give you a script that assigns and starts AmiTCP
  75. from an icon on WB so you should refuse to let it write to your U-S.
  76.  
  77.  
  78.  
  79.  
  80. ...Okay, you got the stuff on your HD but you know the Host and other
  81. configs are screwy as hell.  Fret no more...here's how the files should
  82. look:
  83.  
  84. 1. The "HOSTNAME" file located in your ENVARC: drawer
  85.  
  86. ----------QUOTE START
  87. deathstar.cris.com
  88. ----------QUOTE END
  89.  
  90.  
  91. 2. The "netdb" file located in the AmiTCP:dv drawer (the line needing your
  92.    attention is halfway thru after "hosts")
  93.  
  94. --------------------QUOTE START
  95. ;
  96. ; netdb -- the network database file for AmiTCP/IP
  97. ;
  98. ; Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
  99. ;                  Helsinki University of Technology, Finland.
  100. ;                  All rights reserved.
  101. ;
  102. ; $Id: netdb,v 1.8 1994/03/26 13:01:34 too Exp $
  103. ;
  104. ; Created      : Thu Apr 22 15:05:21 1993 ppessi
  105. ; Last modified: Sat Mar 26 15:00:52 1994 too
  106. ;
  107. ; Include information from local networking environment
  108. ; (File created by installer)
  109. WITH netdb-myhost
  110. ;
  111. ; hosts
  112. ;
  113. H 199.3.12.10 localhost
  114. WITH hosts PREFIX=H
  115. ;
  116. ; Local networks
  117. ;
  118. N loopback-net 127      software-loopback-net
  119. ;
  120. ; Protocols
  121. ;
  122. WITH protocols PREFIX=P
  123. ;
  124. ; Network services, Internet style
  125. ;
  126. WITH services PREFIX=S
  127. ;
  128. ; Access control list for incoming connections.
  129. ;
  130. WITH inet.access PREFIX=ACCESS
  131. ;;;; EOF
  132. ---------------------------------QUOTE END
  133.  
  134.  
  135. 3.  The "netdb-myhost" file in the AmiTCP:dv drawer should look like this:
  136.  
  137. --------------------------QUOTE START
  138. ; This host
  139. HOST 199.3.12.10 deathstar.cris.com
  140. ; Domain names
  141. DOMAIN deathstar.cris.com
  142. ; Name servers
  143. NAMESERVER 199.3.12.2
  144. NAMESERVER 199.3.12.3
  145. --------------------------QUOTE END
  146.  
  147.  
  148. 4.  The "interfaces" file from the dv/ drawer (it's mostly comments so I
  149.     have "snipped" it here to get to the meat):
  150.  
  151. --------------------------------------------------------EDITED QUOTE START
  152. # $Id: interfaces,v 3.3 1994/02/26 13:56:56 ppessi Exp $
  153. #
  154. # Network Interface Configuration for AmiTCP/IP
  155. # =============================================
  156. #
  157.  
  158. #............................<SNIP>.............................
  159.  
  160. # Here is a few examples:
  161. #
  162. # Serial Line IP
  163. #
  164. slip0 dev=devs:networks/rhslip.device UNIT=0 +
  165.  IPTYPE=2048 NOARP P2P IPREQ=8 WRITEREQ=8
  166. #
  167. # SLIP with V. Jacobson header compression 
  168. #
  169. #cslip dev=devs:networks/rhcslip.device 
  170. # IPTYPE=2048 NOARP P2P IPREQ=8 WRITEREQ=8
  171. #
  172. # Ethernet adapter A2065
  173. #
  174. #ether dev=devs:networks/a2065.device 
  175. # IPTYPE=2048 ARPTYPE=2054 ARPHDR=1 ARPREQ=4 IPREQ=16 WRITEREQ=16 
  176. # Arcnet adapter a2060 
  177. #
  178. #arcnet dev=devs:networks/a2060.device NOTRACKING
  179. # IPTYPE=240 ARPTYPE=241 ARPHDR=7 ARPREQ=4 IPREQ=16 WRITEREQ=16 
  180. #
  181. # An X.25 driver by Dave Martin
  182. #
  183. #axdm dev=devs:networks/ax25.device +
  184. #  IPTYPE=204 ARPTYPE=205 ARPHDR=3 ARPREQ=3 IPREQ=16 WRITEREQ=16
  185. -----------------------------------------------------------------QUOTE END
  186.  
  187.  
  188. 5.  Modify the "passwd" and "groups" files in the db drawer.  The format
  189. of these files is in the "How To Install" text but basically you put
  190. your email handle first and put a dummy password after the "|" (it replaces
  191. the "*").  You don't need to enter your real password into these files.
  192. For Example, mine look like this:
  193.  
  194. dlonardo|dummy|etc.|etc.|useless crap|etc.
  195.  
  196.  
  197.  
  198. That's all the files you need to edit.  Make sure they look exactly like
  199. the above (or just cut them from this letter).
  200.  
  201.  
  202. Delete the Sana2 drawer in your envarc:  You don't need it (you might want 
  203. to save one of the sample configs in it--just stuff it out of sight)
  204.  
  205. I will now give you the script(ure) of the Gods <G>  This script will 
  206. config the drivers and assign and start AmiTCP.  It supersedes the puny
  207. "startnet" script in the AmiTCP:bin drawer that is usually used to start 
  208. AmiTCP.  I will comment it for you convenience (ie, lines with ";"). You'll
  209. want to remove most of the comments after you're set.
  210.  
  211. ------------------------------------------------------QUOTE START
  212. ;Arexx is started below--I usually don't have it running after my boot
  213. ;If you do, you can delete the following line.
  214. sys:system/rexxmast
  215.  
  216. ;The stuff below is the crap AmiTCP wanted to put in the User-Startup 
  217. ;I think it's better to keep my boot under 10 minutes ;-)
  218.  
  219. ;BEGIN AmiTCP/IP
  220. ;*******************change line below to the directory you used for AmiTCP
  221. assign AmiTCP: WORK:Telecom/TCP
  222. path AmiTCP:bin add
  223. ;*******************You should use your email handle below
  224. AmiTCP:bin/login -f dlonardo
  225. AmiTCP:bin/umask 022
  226. ;END AmiTCP/IP
  227.  
  228. ;Configure the Slip device while keeping envarc cleaner :-)
  229. ;this makes the Sana2 drawer in env: (ram) if it isn't there already
  230. if not exists ENV:Sana2
  231. makedir ENV:Sana2
  232. endif
  233.  
  234. ;Below is the Sana2 config but note that I use the dialer.device instead
  235. ;of the serial.device.  The dialer device calls up CRIS and logs into
  236. ;SLIP (which you would have to do manually in a separate terminal program
  237. ;cause AmiTCP doesn't do phones).  Get this neat hack from AMINET
  238. ;under pub/aminet/comm/net/dialer_1b.lha
  239. ;It's a piece of cake to configure---until you get it, replace 
  240. ;"dialer.device" with "serial.device" in the line below
  241.  
  242. echo "dialer.device 0 57600 199.3.12.10 7WIRE" >ENV:Sana2/rhslip0.config
  243.  
  244. run AmiTCP:AmiTCP
  245. WaitForPort AMITCP
  246. ; configure loop-back device
  247. AmiTCP:bin/ifconfig lo0 localhost
  248. ; Configure Devs:Networks/rhslip.device unit 0
  249. AmiTCP:bin/ifconfig slip0 199.3.12.10 199.3.12.1 netmask 0.0.0.0
  250. ; Add route to this host
  251. AmiTCP:bin/route add 199.3.12.10 localhost
  252. ; Add route to the default gateway
  253. AmiTCP:bin/route add default 199.3.12.1
  254. ;********************The below is not related to my work:telecom/tcp drawer
  255. Assign TCP: Exists > NIL:
  256. IF Warn
  257.   Mount TCP: from AmiTCP:devs/Inet-Mountlist
  258. EndIf
  259. ------------------------------------------------QUOTE END
  260.  
  261. Now attach the above script to a project icon with IconX as it's default
  262. tool.  You can then logon and get running by the click of an icon :)--BTW,
  263. I own your first-born now ];-{
  264.  
  265.  
  266.  
  267. Below is my Config from the dialer.device called "dialer0.config".  Stuff
  268. writen by me is preceeded by "*"'s---NOTE the "@slip" you have to add to
  269. your handle at logon.
  270.  
  271.  
  272. -----------------------QUOTE START
  273. #   dialer.device config file
  274. # Most config commands are optional
  275. # keywords are case-insensitive
  276.  
  277. # default: "serial.device"
  278. # DEVICE
  279.  
  280. # default: 0
  281. UNIT 0
  282.  
  283. # default: Prefs setting
  284. BAUD 57600
  285.  
  286. # default: ATZ
  287. #INITSTRING ATZ
  288.  
  289. # default: ATDT
  290. #DIALSTRING ATDT131,1234567890,
  291. #DIALSTRING ATDP9,WT
  292.  
  293. # You can have as many phone numbers as you like, including none. They will
  294. # be dialled in turn until you get a CONNECT. Dialling will be aborted on
  295. # "ERROR" or "NO DIALTONE".  If there are no phone numbers, no modem
  296. # initialisation will be done.
  297. # *****************************Below is my NYC pop
  298. PHONE 7141154
  299.  
  300.  
  301. # default: 60
  302. DIALTIMEOUT 30
  303.  
  304. # You can have as many Conversations as you like, including none.
  305. # we wait for the first string, then send the second, with a CR appended
  306. # they will be actioned in the order encountered
  307. # ********************************your CRIS handle below--keep the "@slip"
  308. CONVERSE user: shadownyc@slip
  309. # ********************************enter your password below
  310. CONVERSE sword: <your password> 
  311. CONVERSE tware. ""
  312.  
  313. # The time we wait in a Conversation for the expected string
  314. # default: 30
  315. TIMEOUT 20
  316.  
  317. # default: 320 11 320 100
  318. #WINDOWSIZE 320 11 320 100
  319.  
  320. # default: 320 11 320 11
  321. #ZOOMSIZE 320 11 320 11
  322. ---------------------------------------QUOTE END
  323.  
  324.  
  325.  
  326.  
  327. THAT'S IT!!!!!!!!!!!!!!!!!!!!!!! :) :) :) :)
  328.  
  329. Good Luck
  330. Dave
  331.  
  332.